package cn.petplatform.petback.service.adoptpets;

import cn.petplatform.dto.ResponseDto;
import cn.petplatform.petback.pojo.Pet;
import cn.petplatform.petback.pojo.PetAdopt;

import javax.servlet.http.HttpServletRequest;

/**
 * @author LNL
 * @date 2021/5/17 16:35
 */
public interface AdoptPetsService {

    /**
     * 获取所有的领养情况
     * @return
     */
    ResponseDto getAdoptPets();



    /**
     * 通过当前用户的id
     * @param id
     * @return
     */
    ResponseDto getAdoptPetsByPerson(String id);

    /**
     * 删除领养信息
     * @param id
     * @return
     */
    ResponseDto deleteAdoptPetById(String id);


    /**
     * 新增领养情况
     * @param id 宠物id
     * @param request
     * @return
     */
    ResponseDto insertAdoptPetByPerson(String id, HttpServletRequest request);

    ResponseDto getAdoptPetsByAdoptId(String id);

    ResponseDto checkAdopt(String id, HttpServletRequest request);

    ResponseDto addCareCount(Pet pet);

    ResponseDto getAdoptManagePets();

}
